package com.cskaoyan.service;

import com.cskaoyan.domain.MarketUser;
import com.cskaoyan.mapper.MarketUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MarketUserServiceImpl implements MarketUserService{
    @Autowired
    MarketUserMapper userMapper;
    @Override
    public MarketUser queryByUserId(Integer userId) {
        MarketUser marketUser = userMapper.selectByPrimaryKey(userId);
        return marketUser;
    }
}
